package com.xmutca.sso.api.server;

import com.xmutca.core.common.Result;
import com.xmutca.core.common.Results;
import com.xmutca.core.dubbo.ServiceMock;
import com.xmutca.sso.api.Account;
import com.xmutca.sso.api.Menu;
import com.xmutca.sso.api.Permission;

/**
 * @author: 彭伟煌(pengweihuang@xmutca.com)
 * @create: 2016-08-31 15:03
 */
public class AccountServiceMock extends ServiceMock implements AccountService {

    @Override
    public Result<Account> getByUsername(String username) {
        return mock(Result.class);
    }

    @Override
    public Result<Account> getById(String id) {
        return mock(Result.class);
    }

    @Override
    public Results<Menu> queryMenu(String id) {
        return mock(Results.class);
    }

    @Override
    public Results<String> queryPermission(String id) {
        return mock(Results.class);
    }
}
